package org.sanguine.plugin.timetracker.pojo;

import java.util.List;

/**
 * <p>
 * Timer entity.
 * </p>
 * <p>
 * <code>
 *      <daily>
 *          <for_day type="date">Wed, 18 Oct 2006</for_day>
 *          <day_entries>
 *              <day_entry>
 *                  <id type="integer">195168</id>
 *                  <spent_at type="date">2006-10-11</spent_at>
 *                  <user_id type="integer">52</user_id>
 *                  <client>Iridesco</client>
 *                  <project_id>123456</project_id>
 *                  <project>Harvest</project>
 *                  <task_id>678901</task_id>
 *                  <task>Backend Programming</task>
 *                  <hours type="float">0.00</hours>
 *                  <notes>Test api support</notes>
 *                  <created_at type="datetime">Thu, 17 Nov 2011 10:19:57 +0000</created_at>
 *                  <updated_at type="datetime">Thu, 17 Nov 2011 12:24:03 +0000</updated_at>
 *                  <!-- OPTIONAL returned only if the timer is running -->
 *                  <timer_started_at type="datetime">
 *                  Wed, 17 Oct 2006 10:45:07 +0000
 *                  </timer_started_at>
 *                  <!-- OPTIONAL returned only if timestamps are enabled -->
 *                  <started_at>8:00am</started_at>
 *                  <ended_at>10:00am</ended_at>
 *              </day_entry>
 *              ...
 *              </day_entry>
 *          </day_entries>
 *          <!-- These are the project-task combinations that can be added to the timesheet. Not present in readonly timesheets or for users without assigned projects. -->
 *          <projects>
 *              <project>
 *              <name>Click and Type</name>
 *              <code></code> <id type="integer">3</id> <billable type="boolean">true</billable> <client>AFS</client>
 * <tasks> <task> <name>Security support</name> <id type="integer">14</id> <billable type="boolean">true</billable>
 * </task> <task> ... </task> </tasks> </project> <project> ... </project> </projects> </daily> </code>
 * </p>
 * <b>Date:</b> 30.12.2014
 *
 * @author Alexey_Kuznetsov
 */
public final class DailyList {
    public String forDay;
    public List<Timer> dayEntries;
}
